home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 …ember: Reference Library / Dev.CD Dec 96 RL / Dev.CD Dec 96 RL.toast / Technical Documentation / develop / develop Issue 28 / develop Issue 28 code / MacApp Debugging / IconEdit tests / IconEdit / MIconEdit.cp < prev    next >
Encoding:
Text File  |  1996-04-02  |  1.2 KB  |  51 lines  |  [TEXT/MPS ]

  1. //----------------------------------------------------------------------------------------
  2. // MIconEdit.cp
  3. // Copyright © 1988-96 by Apple Computer, Inc. All rights reserved.
  4. //----------------------------------------------------------------------------------------
  5.  
  6. #ifndef __UICONEDIT__
  7. #include "UIconEdit.h"
  8. #endif
  9.  
  10. // MacApp
  11.  
  12. #ifndef __UERRORMGR__
  13. #include "UErrorMgr.h"
  14. #endif                     
  15.  
  16. #ifndef __UMACAPPGLOBALS__
  17. #include "UMacAppGlobals.h"
  18. #endif
  19.  
  20. #ifndef __UMACAPPUTILITIES__
  21. #include "UMacAppUtilities.h"
  22. #endif
  23.  
  24. #ifndef __UPRINTING__
  25. #include "UPrinting.h"
  26. #endif
  27.  
  28. //----------------------------------------------------------------------------------------
  29. // main: 
  30. //----------------------------------------------------------------------------------------
  31. #pragma push
  32. #pragma processor 68000
  33. #pragma segment Main
  34.  
  35. void main()
  36. {
  37.     InitUMacApp(4);                    // Initialize MacApp with 4 calls to MoreMasters.
  38.     InitUPrinting();
  39.  
  40.     TIconEditApplication* anIconEditApplication = new TIconEditApplication;
  41.     anIconEditApplication->IIconEditApplication();
  42.     anIconEditApplication->Run();
  43. } // main
  44.  
  45. #pragma pop
  46.  
  47. //----------------------------------------------------------------------------------------
  48. // End of MIconEdit.cp
  49.  
  50. #pragma segment Inline
  51.